namespace CSharpPro._1021;

public class Student
{
    private int id;
    private string name;
    private string UserEmail;

    public Student(int id, string name, string userEmail)
    {
        this.id = id;
        this.name = name;
        UserEmail = userEmail;
    }

    public int Id
    {
        get { return id; }
        set { id = value; }
    }

    public string Name { get; set; }

    public Student(int id, string name)
    {
        this.id = id;
        this.name = name;
    }
    public Student()
    {
    }

    public Student(int id)
    {
        this.id = id;
    }

    public Student(string name)
    {
        this.name = name;
    }

    public int Compare(int a, int b, int c)
    {
        if (a>b && a>c)
        {
            return a;
        }
        else if (b > c && b > a)
        {
            return b;
        }
        else if (c > a && c > b)
        {
            return c;
        }
        else
        {
            return 0;
        }
    }
}